package cqut.wys.domain;

import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * 操作mongodb数据库工厂
 * @author wuyoushan@zbj.com
 * @date 2017/2/19.
 */
public interface UserRepository extends MongoRepository<User, Long> {
    User findByUsername(String username);
}
